package com.wechat.wechat.repository;

import com.wechat.wechat.entity.OrderMaster;
import org.hibernate.criterion.Order;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author NN
 * @2020/2/20 15:16
 */
public interface OrderMasterRepository extends JpaRepository<OrderMaster,String> {
    public Page<OrderMaster> findByBuyerOpenid(String buyerOpenId, Pageable pageable);
}
